package com.pan.admin.module.loanUser.service.impl;

import com.pan.admin.module.loanUser.dao.LoanUserMarketLogDao;
import com.pan.admin.module.loanUser.entity.LoanUserMarketLog;
import com.pan.admin.module.loanUser.service.LoanUserMarketLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 用户贷款超市轨迹日志Service业务层处理
 *
 * @author ts
 * @date 2023-10-08
 */
@Service
public class LoanUserMarketLogServiceImpl implements LoanUserMarketLogService {
    @Autowired
    private LoanUserMarketLogDao loanUserMarketLogDao;

    /**
     * 根据ID获取列表用户贷款超市轨迹日志
     *
     * @param id 用户贷款超市轨迹日志主键
     * @return 用户贷款超市轨迹日志
     */
    @Override
    public LoanUserMarketLog getById(Long id) {
        return loanUserMarketLogDao.getById(id);
    }

    /**
     * 查询用户贷款超市轨迹日志列表
     *
     * @param loanUserMarketLog 用户贷款超市轨迹日志
     * @return 用户贷款超市轨迹日志
     */
    @Override
    public List<LoanUserMarketLog> list(LoanUserMarketLog loanUserMarketLog) {
        List<LoanUserMarketLog> list = loanUserMarketLogDao.list(loanUserMarketLog);
        return list;
    }

    /**
     * 获取用户贷款超市轨迹日志详细贷超列表信息
     */
    @Override
    public List<LoanUserMarketLog> marketListById(LoanUserMarketLog loanUserMarketLog) {
        List<LoanUserMarketLog> loanUserMarketLogs = loanUserMarketLogDao.marketListById(loanUserMarketLog);
        return loanUserMarketLogs;
    }
}
